import numpy as np

# 定义Accuracy Score和F1 Score
accuracy = [0.2193, 0.4831, 0.6381, 0.8815, 0.8963, 0.9041, 0.9082, 0.9083, 0.9081, 0.9080]
f1_scores = [0.2181, 0.4823, 0.6370, 0.8801, 0.8940, 0.9030, 0.9071, 0.9073, 0.9072, 0.9070]

for acc, f1 in zip(accuracy, f1_scores):
    for recall in np.arange(max(0, f1 - 0.01), min(1, f1 + 0.01), 0.001):
        for precision in np.arange(max(0, f1 - 0.01), min(1, f1 + 0.01), 0.001):
            if (recall + precision) != 0:
                theoretical_f1 = (2 * recall * precision) / (recall + precision)
                if abs(theoretical_f1 - f1) < 0.001:
                    print(f"For Accuracy {acc}, F1 {f1}, Recall Score: {recall:.4f}, Precision Score: {precision:.4f}")